﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Uc_VatTuSuaChua.ascx.cs" Inherits="VanTaiTMS.SubPage.Uc_VatTuSuaChua" %>
<script type="text/javascript">
    $(document).ready(function () {
        //setup new person dialog
        $('#ucthongbao').dialog({
            autoOpen: false,
            draggable: true,
            height: "auto",
            width: "372px",
            position: ['center', 50],
            resizable: false,

            create: function (event) { $(event.target).parent().css('position', 'fixed'); },
            open: function () {
                $(this).parent().appendTo("form");
            }
        });
    });
</script>
<asp:UpdatePanel ID="upNewUpdatePanel" UpdateMode="Conditional" ChildrenAsTriggers="true" runat="server">
    <ContentTemplate>
        <div class="toolbar-ui-all-big">
            <asp:ImageButton CssClass="button-all" ID="imgSave" ImageAlign="Middle"
                             ImageUrl="~/Icon/save.png" runat="server"
                             OnClick="imgSave_Click" />

            <asp:ImageButton CssClass="button-all" ID="imgrefesh" ImageAlign="Middle"
                             ImageUrl="~/Icon/refesh-ui.png" ToolTip="Làm tươi" runat="server"
                             OnClick="imgrefesh_Click" />
        </div>
        <div class="clr"></div>
        <div class="ui-main">
            <div style="display: none">
                <asp:Label ID="lbID" runat="server"></asp:Label>
            </div>
            <div class="ui-box-text-box">
                <label class="label">Mã Vật Tư Sữa Chữa <span style="color:Red">(*)</span></label>
                <asp:TextBox ID="txtMaVatTuSuaChua" CssClass="textbox" runat="server"></asp:TextBox>
            </div>

            <div class="ui-box-text-box">
                <label class="label">Vật Tư Sữa Chữa <span style="color:Red">(*)</span></label>
                <asp:TextBox ID="txtTenVatTuSuaChua" CssClass="textbox" runat="server"></asp:TextBox>
            </div>

            <div class="clr"></div>

            <div class="ui-box-text-box">
                <label class="label">Ghi chú</label>
                <asp:TextBox ID="txtGhiChu" TextMode="MultiLine" CssClass="textbox-muiti" runat="server"></asp:TextBox>
            </div>
            <div class="clr"></div>
        </div>
        <div class="clr"></div>
        <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="upNewUpdatePanel">
            <ProgressTemplate>
                <img alt='loadding' class="loading" src="../images/loading-fb.gif" /><br />
                <div class="loading-label-right">
                    Đang xử lý dữ liệu...
                </div>
            </ProgressTemplate>
        </asp:UpdateProgress>
    </ContentTemplate>
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="imgSave" EventName="Click" />
    </Triggers>
</asp:UpdatePanel>
<div id="ucthongbao" title="Thông Báo">
    <asp:UpdatePanel ID="updatePanelucthongbao" UpdateMode="Conditional" ChildrenAsTriggers="true" runat="server">
        <ContentTemplate>
            <p>
                <span class="ui-icon ui-icon-circle-check" style="float: left; margin: 0 7px 50px 0;"></span>
                <asp:Label ID="lbucthongbaoLoi" CssClass="error-msg" runat="server" Text=""></asp:Label>
            </p>
            <hr />
            <div class="toolbar-ui-footer">
                <asp:Button ID="cmdCloseucthongbao" CssClass="btn btn-info" Height="29px" runat="server"
                            Text="Đóng lại" OnClick="cmdCloseucthongbao_Click" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</div>

